Optimal. Leaf size=12 \[ -\frac {\sin (x)}{1-\cos (x)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {3166, 2648} \[ -\frac {\sin (x)}{1-\cos (x)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2648
Rule 3166
Rubi steps
\begin {align*} \int \frac {\csc (x)}{-\cot (x)+\csc (x)} \, dx &=\int \frac {1}{1-\cos (x)} \, dx\\ &=-\frac {\sin (x)}{1-\cos (x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 8, normalized size = 0.67 \[ -\cot \left (\frac {x}{2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.91, size = 10, normalized size = 0.83 \[ -\frac {\cos \relax (x) + 1}{\sin \relax (x)} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.20, size = 8, normalized size = 0.67 \[ -\frac {1}{\tan \left (\frac {1}{2} \, x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 9, normalized size = 0.75 \[ -\frac {1}{\tan \left (\frac {x}{2}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.34, size = 10, normalized size = 0.83 \[ -\frac {\cos \relax (x) + 1}{\sin \relax (x)} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.53, size = 6, normalized size = 0.50 \[ -\mathrm {cot}\left (\frac {x}{2}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ - \int \frac {\csc {\relax (x )}}{\cot {\relax (x )} - \csc {\relax (x )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________